package com.example.materialcostsystembackend.service;

import com.example.materialcostsystembackend.dto.OrderRequest;
import com.example.materialcostsystembackend.model.OrderItemDetail;
import com.example.materialcostsystembackend.model.OrderSummary;

import java.util.List;

public interface OrderService {
    void saveOrder(OrderRequest request);
    List<OrderSummary> getAllOrders();
    void deleteOrder(String orderNumber);
    List<OrderItemDetail> getOrderItems(String orderNumber);

    boolean existsByOrderNumber(String orderNumber);
}